import numpy
tol = 1200

def frame(f):
    thres = numpy.min(f)
    indices = numpy.argwhere(numpy.abs(f-thres) < tol)
    return indices

